package com.aliyun.heiyu.powermaster.server.dao.enums;

public enum LogLevelEnum {
    LEVEL_ERROR(1,"warn"),
    LEVEL_WARN(2,"error"),
    LEVEL_INFO(3,"info"),
    LEVEL_DEBUG(4,"debug"),
    LEVEL_TRACE(5,"trace");

    private int code;
    private String desc;


    LogLevelEnum(int code, String desc) {
        this.code=code;
        this.desc=desc;
    }
    public int getCode(){return code;}

    public String getDesc() {
        return desc;
    }
}
